-
Home
-
YayPricing – WooCommerce Dynamic Pricing & Discounts
-
2.4.1
-
Code
-
Classes
- YAYDP_Cart_Discount_Manager
Total Complexity |
30 |
Dependencies |
4 |
Dependents |
1 |
Total lines |
197 |
Lines of code |
115 |
Logical lines of code |
72 |
Comment lines |
49 |
Methods |
11 |
Properties |
3 |
Methods 11
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
remove_yaydp_discounts() |
S |
58 |
5 |
16 |
change_coupon_label() |
S |
57 |
4 |
16 |
change_coupon_html() |
S |
58 |
4 |
16 |
get_shop_coupon_data() |
S |
59 |
4 |
14 |
change_coupon_message() |
S |
60 |
4 |
13 |
change_coupon_error() |
S |
60 |
4 |
13 |
__construct() |
S |
61 |
1 |
11 |
before_calculate_pricings() |
S |
82 |
1 |
3 |
after_calculate_pricings() |
S |
91 |
1 |
2 |
calculate_pricings() |
S |
65 |
1 |
8 |
handle_use_time() |
S |
79 |
1 |
3 |